home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************/
- /* */
- /* TurboCAD for Windows */
- /* Copyright (c) 1993 - 2001 */
- /* International Microcomputer Software, Inc. */
- /* (IMSI) */
- /* All rights reserved. */
- /* */
- /******************************************************************/
-
- // stdafx.h : include file for standard system include files,
- // or project specific include files that are used frequently,
- // but are changed infrequently
-
- #if !defined(AFX_STDAFX_H__2F015017_FB7C_11D1_B8AC_000021452DB6__INCLUDED_)
- #define AFX_STDAFX_H__2F015017_FB7C_11D1_B8AC_000021452DB6__INCLUDED_
-
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
-
- #define STRICT
-
- #include <afxwin.h>
- #include <afxext.h> // MFC extensions
- #include <afxdisp.h>
- #include <afxcmn.h> // MFC support for Windows Common Controls
-
- #define _WIN32_WINNT 0x0400
- #define _ATL_APARTMENT_THREADED
-
-
- #include <atlbase.h>
- //You may derive a class from CComModule and use it if you want to override
- //something, but do not change the name of _Module
- extern CComModule _Module;
- #include <atlcom.h>
-
- // Type definitions for pointers to call DBAPI's functions.
- #define DBAPI50 _T("DBAPI50")//# Non-localizable string#
- #define DBAPI60 _T("DBAPI60")//# Non-localizable string#
- #define DBAPI70 _T("DBAPI70")//# Non-localizable string#
- #define DBAPI80 _T("DBAPI80")//# Non-localizable string#
- #define DBAPI90 _T("DBAPI90")//# Non-localizable string#
- #define DBAPI10 _T("DBAPI10")//# Non-localizable string#
- #define DBAPI11 _T("DBAPI11")//# Non-localizable string#
- #define DBAPI12 _T("DBAPI12")//# Non-localizable string#
- #define DBAPI14 _T("DBAPI14")//# Non-localizable string#
-
- typedef DWORD (__stdcall * GRAPHICFILEOPENEX)(long hG, long hDwg, long hApp, LPTSTR lpszFile, LPSTREAM lpStream, LPTSTR lpError, int nBufSize, DWORD dwFlags, LPARAM lParam, long lm);
- typedef long (__stdcall * APPGETCURRENTAPP)(void);
- //typedef long (__stdcall * APPDRAWINGNEWEX)(long hA, BOOL LoadTablesFromINI, LPUNKNOWN pUnkOuter, void** pInnerUnknown);
- typedef long (__stdcall * APPDRAWINGNEWEX)(long hA, BOOL LoadTablesFromINI, LPUNKNOWN pUnkOuter, void** pInnerUnknown, BOOL bAddToApp);
- typedef void (__stdcall * DRAWINGDISPOSE)(long& rl);
- typedef long (__stdcall * DRAWINGGETGRAPHIC)(long d);
- typedef LPDISPATCH (__stdcall * GRAPHICGETDISPATCH)(long g, LPDISPATCH* ppGraphics);
-
-
- #include <afxtempl.h>
-
- // TurboCAD SDK: Interfaces for Imsigx objects
- #include "imsigx.h"
-
- // MFC dual interface support
- //#include "mfcdual.h"
-
- #include "resource.h"
-
- #define TYPELIB_MAJOR 1
- #define TYPELIB_MINOR 0
- #define NUM_TOOLS 1
-
- #define CHECK_HRESULT(hr) if (FAILED(hr)) throw hr;
- #define CHECK_POINTER(p) if (p == NULL) throw E_OUTOFMEMORY;
- #define TRACE_EXCEPTION(f) TRACE1("Exception in %s\n", ##f);
-
- #define RELEASE(pI) if (pI != NULL) {pI->Release(); pI = NULL;}
- #define ADDREF(pI) pI != NULL ? pI->AddRef() : 0;
-
-
- extern COleVariant varMissing;
- extern COleVariant varTrue;
- extern COleVariant varFalse;
-
- #include <math.h>
- class CInsSmObjApp : public CWinApp
- {
- public:
- virtual BOOL InitInstance();
- virtual int ExitInstance();
-
- };
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_STDAFX_H__2F015017_FB7C_11D1_B8AC_000021452DB6__INCLUDED)
-